while (scanf("%d", &a)!= EOF) {
        int b[a];
        for (int i = 0; i < a; i++)
            scanf("%d", &b[i]);